package cn.yitun.chat.yitunserverfilecore.component;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix="yitun")
public class YiTunConfig {
	//上传路径
	private static String uploadPath;

	private static String username;

	private static String password;

	private static String hostport;

	private static String logoPath;

	private static String appName ;

	private static String mode ;

	private static String defaultSaveBy ;
	//公司名称
	private static String companyName ;
	//版本
	private static String version ;

	public static String getUploadPath() {
		return uploadPath;
	}

	public void setUploadPath(String uploadPath) {
		this.uploadPath = uploadPath;
	}

	public static String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public static String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public static String getHostport() {
		return hostport;
	}

	public void setHostport(String hostport) {
		this.hostport = hostport;
	}

	public static String getLogoPath() {
		return logoPath;
	}

	public void setLogoPath(String logoPath) {
		this.logoPath = logoPath;
	}

	public static String getAppName() {
		return appName;
	}

	public void setAppName(String appName) {
		this.appName = appName;
	}

	public static String getMode() {
		return mode;
	}

	public void setMode(String mode) {
		this.mode = mode;
	}

	public static String getDefaultSaveBy() {
		return defaultSaveBy;
	}

	public void setDefaultSaveBy(String defaultSaveBy) {
		this.defaultSaveBy = defaultSaveBy;
	}

	public static String getCompanyName() {
		return companyName;
	}

	public void setCompanyName(String companyName) {
		YiTunConfig.companyName = companyName;
	}

	public static String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		YiTunConfig.version = version;
	}
}
